package cn.otrue.patienthealthmanager.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import cn.otrue.patienthealthmanager.utils.MyConst;

/**
 * 所有所有Activity的基类，规定必须要完成的通用动作
 * 
 * @author G
 * 
 */
public abstract class BaseActivity extends FragmentActivity implements
		OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

	}

	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub

	}

	@Override
	protected void onResume() {
		MyConst.activity = this;
		super.onResume();

	}

	@Override
	protected void onPause() {
		MyConst.activity = null;
		super.onPause();

	}

	@Override
	protected void onStop() {

		super.onStop();

	}

	@Override
	protected void onDestroy() {
		super.onDestroy();

	}

}
